package com.example.safeassistan.hiddendanger.adapter;

import androidx.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.safeassistan.R;
import com.example.safeassistan.hiddendanger.model.StatusModel;

import java.util.List;

public class HiddenDangerStatusAdapter extends BaseQuickAdapter<StatusModel,BaseViewHolder> {
    public HiddenDangerStatusAdapter(@Nullable List<StatusModel> data) {
        super(R.layout.item_hiddendanger_status, data);
    }



    @Override
    protected void convert(BaseViewHolder helper, StatusModel item) {
        helper.setText(R.id.text,item.getText());

    }
}